/*
============================================================================
 Name        : $(Basename).pan
 Author      : $(Author)
 Version     :
 Copyright   : $(Copyright)
 Description : Application panic codes
============================================================================
*/

#ifndef __$(BASENAME)_PAN__
#define __$(BASENAME)_PAN__

/** $(Basename) application panic codes */
enum T$(Basename)Panics
	{
	E$(Basename)Ui = 1
	// add further panics here
	};

inline void Panic(T$(Basename)Panics aReason)
	{
	_LIT(applicationName,"$(Basename)");
	User::Panic(applicationName, aReason);
	}

#endif // __$(BASENAME)_PAN__
